The following examples shall illustrate the message structure and write/read procedures explained in Section 19.7.3.2, Structure of Messages on the SPI. Blanks are inserted only to better visualize frame elements. In practice no blanks are allowed.
Transfer Message: The master requests to read 16 bytes from the slave. Read Offset is zero, therefore, reading starts from the first byte.
Transfer Message: The master requests to read 8 bytes from the slave. Read Offset is 3, therefore, reading starts from the fourth byte.
Transfer Message: The master writes 6 bytes and requests to read 4 bytes from the slave. Read Offset is 3, therefore, reading starts from the fourth byte.
|